

package cn.shengchao.examstar.product.infrastructure.dao;

import cn.shengchao.examstar.product.infrastructure.dao.po.TProductCourseNodes;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductCourseNodesDao extends BaseMapper<TProductCourseNodes> {

    List<Long>  selectCourseLessonByParentLessonId(@Param("parentLessonId") Long parentLessonId);

    List<Long> selectCourseSectionByLessonSectionOrderList(@Param("courseId")String courseId, @Param("searchName")String searchName, @Param("isLesson")boolean isLesson);

    List<TProductCourseNodes> findListByCourseId(@Param("courseId") Long courseId,@Param("searchName") String searchName,@Param("isLesson")boolean isLesson);
}
